home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
Billiard Parlour ••••
/
Billiard Parlour
/
Billiard Parlour.rsrc
/
CODE_5.txt
< prev
next >
Wrap
Text File
|
1986-02-26
|
76KB
|
1,321 lines
# near model CODE resource
# jump table entries: 480-486 (7 of them)
fn00000000:
00000000 41FA 018A lea.l A0, [PC + 0x18A /* 0000018C, value 0x0, cstring "" */]
00000004 D1FC 0000 003E add.l A0, 0x3E /* '>' */
0000000A 48E0 FF7F movem.l -[A0], D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7
0000000E 41FA 017C lea.l A0, [PC + 0x17C /* 0000018C, value 0x0, cstring "" */]
00000012 50D0 st [A0]
00000014 286F 000A movea.l A4, [A7 + 0xA]
00000018 21CC 0A78 move.l [0x00000A78 /* ApplScratch */], A4
0000001C 206F 000E movea.l A0, [A7 + 0xE]
00000020 302F 0012 move.w D0, [A7 + 0x12]
00000024 322F 0008 move.w D1, [A7 + 0x8]
00000028 342F 0006 move.w D2, [A7 + 0x6]
0000002C 362F 0004 move.w D3, [A7 + 0x4]
00000030 225F movea.l A1, [A7]+
00000032 DEFC 0010 add.w A7, 0x10
00000036 2F09 move.l -[A7], A1
00000038 43FA 0152 lea.l A1, [PC + 0x152 /* 0000018C, value 0x0, cstring "" */]
0000003C 234F 003A move.l [A1 + 0x3A], A7
00000040 4A41 tst.w D1
00000042 6700 000E beq +0x10 /* 00000052 */
00000046 3F02 move.w -[A7], D2
00000048 0C41 0001 cmpi.w D1, 0x1
0000004C 6700 0004 beq +0x6 /* 00000052 */
00000050 3F03 move.w -[A7], D3
label00000052:
00000052 2230 0000 move.l D1, [A0 + D0.w]
00000056 6700 0006 beq +0x8 /* 0000005E */
0000005A 4EB0 1800 jsr [A0 + D1]
label0000005E:
0000005E 41FA 012C lea.l A0, [PC + 0x12C /* 0000018C, value 0x0, cstring "" */]
00000062 5488 addq.l A0, 2
00000064 4CD8 FEFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7, [A0]+
00000068 41FA 0122 lea.l A0, [PC + 0x122 /* 0000018C, value 0x0, cstring "" */]
0000006C 51D0 sf [A0]
0000006E 4E75 rts
fn00000070:
00000070 41FA 000E lea.l A0, [PC + 0xE /* 00000080, value 0x41FA010A */]
00000074 21C8 0A8C move.l [0x00000A8C /* RestProc/ResumeProc */], A0
00000078 4E75 rts
export_61:
fn0000007A:
0000007A 42B8 0A8C clr.l [0x00000A8C /* RestProc/ResumeProc */]
0000007E 4E75 rts
label00000080:
00000080 41FA 010A lea.l A0, [PC + 0x10A /* 0000018C, value 0x0, cstring "" */]
00000084 4A50 tst.w [A0]
00000086 6600 0004 bne +0x6 /* 0000008C */
0000008A 4E70 reset
label0000008C:
0000008C 41FA 00FE lea.l A0, [PC + 0xFE /* 0000018C, value 0x0, cstring "" */]
00000090 5488 addq.l A0, 2
00000092 4CD8 FEFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7, [A0]+
00000096 41FA 00F4 lea.l A0, [PC + 0xF4 /* 0000018C, value 0x0, cstring "" */]
0000009A 51D0 sf [A0]
0000009C 487A 0008 pea.l [PC + 0x8 /* 000000A6, value 0x24E77, cstring "" */]
000000A0 4EBA 0050 jsr [PC + 0x50 /* 000000F2 */]
000000A4 4E75 rts
000000A6 0002 4E77 ori.b D2, 0x77 /* 'w' */
000000AA 41FA FFFC lea.l A0, [PC - 0x4 /* 000000A8, value 0x4E7741FA */]
000000AE 21C8 0070 move.l [0x00000070 /* __m68k_vec_switch__ */], A0
000000B2 21C8 0074 move.l [0x00000074 /* __m68k_vec_switch_via__ */], A0
000000B6 21C8 0078 move.l [0x00000078 /* __m68k_vec_switch_scc__ */], A0
000000BA 21C8 007C move.l [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
label000000BE:
000000BE 2038 016A move.l D0, [0x0000016A /* Ticks */]
000000C2 0680 0000 003C addi.l D0, 0x3C /* '<' */
000000C8 027C F8FF andi.w sr, 63743
label000000CC:
000000CC 40C1 move.w D1, SR
000000CE 0241 0700 andi.w D1, 0x700
000000D2 66EA bne -0x14 /* 000000BE */
000000D4 B0B8 016A cmp.l D0, [0x0000016A /* Ticks */]
000000D8 62F2 bhi -0xC /* 000000CC */
000000DA 41FA FFCE lea.l A0, [PC - 0x32 /* 000000AA, value 0x41FAFFFC */]
000000DE 21C8 0070 move.l [0x00000070 /* __m68k_vec_switch__ */], A0
000000E2 21C8 0074 move.l [0x00000074 /* __m68k_vec_switch_via__ */], A0
000000E6 21C8 0078 move.l [0x00000078 /* __m68k_vec_switch_scc__ */], A0
000000EA 21C8 007C move.l [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
000000EE 4EFA FF90 jmp [PC - 0x70 /* 00000080 */]
export_60:
fn000000F2:
000000F2 206F 0004 movea.l A0, [A7 + 0x4]
000000F6 0C50 0001 cmpi.w [A0], 0x1
000000FA 6700 0018 beq +0x1A /* 00000114 */
000000FE 0C50 0002 cmpi.w [A0], 0x2
00000102 6700 0048 beq +0x4A /* 0000014C */
00000106 0C50 0003 cmpi.w [A0], 0x3
0000010A 6700 0068 beq +0x6A /* 00000174 */
label0000010E:
0000010E 205F movea.l A0, [A7]+
00000110 588F addq.l A7, 4
00000112 4ED0 jmp [A0]
label00000114:
00000114 41FA 0076 lea.l A0, [PC + 0x76 /* 0000018C, value 0x0, cstring "" */]
00000118 4AA8 003E tst.l [A0 + 0x3E]
0000011C 66F0 bne -0xE /* 0000010E */
0000011E 2178 0070 003E move.l [A0 + 0x3E], [0x00000070 /* __m68k_vec_switch__ */]
00000124 2178 0074 0042 move.l [A0 + 0x42], [0x00000074 /* __m68k_vec_switch_via__ */]
0000012A 2178 0078 0046 move.l [A0 + 0x46], [0x00000078 /* __m68k_vec_switch_scc__ */]
00000130 2178 007C 004A move.l [A0 + 0x4A], [0x0000007C /* __m68k_vec_switch_via_scc__ */]
00000136 41FA FF72 lea.l A0, [PC - 0x8E /* 000000AA, value 0x41FAFFFC */]
0000013A 21C8 0070 move.l [0x00000070 /* __m68k_vec_switch__ */], A0
0000013E 21C8 0074 move.l [0x00000074 /* __m68k_vec_switch_via__ */], A0
00000142 21C8 0078 move.l [0x00000078 /* __m68k_vec_switch_scc__ */], A0
00000146 21C8 007C move.l [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
0000014A 60C2 bra -0x3C /* 0000010E */
label0000014C:
0000014C 41FA 003E lea.l A0, [PC + 0x3E /* 0000018C, value 0x0, cstring "" */]
00000150 4AA8 003E tst.l [A0 + 0x3E]
00000154 67B8 beq -0x46 /* 0000010E */
00000156 21E8 003E 0070 move.l [0x00000070 /* __m68k_vec_switch__ */], [A0 + 0x3E]
0000015C 21E8 0042 0074 move.l [0x00000074 /* __m68k_vec_switch_via__ */], [A0 + 0x42]
00000162 21E8 0046 0078 move.l [0x00000078 /* __m68k_vec_switch_scc__ */], [A0 + 0x46]
00000168 21E8 004A 007C move.l [0x0000007C /* __m68k_vec_switch_via_scc__ */], [A0 + 0x4A]
0000016E 42A8 003E clr.l [A0 + 0x3E]
00000172 609A bra -0x64 /* 0000010E */
label00000174:
00000174 43FA 0016 lea.l A1, [PC + 0x16 /* 0000018C, value 0x0, cstring "" */]
00000178 4AA9 003E tst.l [A1 + 0x3E]
0000017C 6600 0008 bne +0xA /* 00000186 */
00000180 30BC 0002 move.w [A0], 0x2
00000184 6088 bra -0x76 /* 0000010E */
label00000186:
00000186 30BC 0001 move.w [A0], 0x1
0000018A 6082 bra -0x7C /* 0000010E */
0000018C 0000 0000 ori.b D0, 0x0
00000190 0000 0000 ori.b D0, 0x0
00000194 0000 0000 ori.b D0, 0x0
00000198 0000 0000 ori.b D0, 0x0
0000019C 0000 0000 ori.b D0, 0x0
000001A0 0000 0000 ori.b D0, 0x0
000001A4 0000 0000 ori.b D0, 0x0
000001A8 0000 0000 ori.b D0, 0x0
000001AC 0000 0000 ori.b D0, 0x0
000001B0 0000 0000 ori.b D0, 0x0
000001B4 0000 0000 ori.b D0, 0x0
000001B8 0000 0000 ori.b D0, 0x0
000001BC 0000 0000 ori.b D0, 0x0
000001C0 0000 0000 ori.b D0, 0x0
000001C4 0000 0000 ori.b D0, 0x0
000001C8 0000 0000 ori.b D0, 0x0
000001CC 0000 0000 ori.b D0, 0x0
000001D0 0000 0000 ori.b D0, 0x0
000001D4 0000 0000 ori.b D0, 0x0
000001D8 0000 0C6F ori.b D0, 0x6F /* 'o' */
export_62: // at 000001DA (misaligned)
000001DC 0001 0008 ori.b D1, 0x8
000001E0 6712 beq +0x14 /* 000001F4 */
000001E2 0C6F 0002 0008 cmpi.w [A7 + 0x8], 0x2
000001E8 6746 beq +0x48 /* 00000230 */
000001EA 0C6F 0003 0008 cmpi.w [A7 + 0x8], 0x3
000001F0 6736 beq +0x38 /* 00000228 */
000001F2 604C bra +0x4E /* 00000240 */
label000001F4:
000001F4 41FA 005C lea.l A0, [PC + 0x5C /* 00000252, value 0x0, cstring "" */]
000001F8 20AF 0004 move.l [A0], [A7 + 0x4]
000001FC 41FA 0058 lea.l A0, [PC + 0x58 /* 00000256, value 0x0, cstring "" */]
00000200 20B8 01AA move.l [A0], [0x000001AA]
00000204 41FA 0040 lea.l A0, [PC + 0x40 /* 00000246, value 0x10290800 */]
00000208 21C8 01AA move.l [0x000001AA], A0
0000020C 2078 01D4 movea.l A0, [0x000001D4 /* VIA */]
00000210 0028 0040 1600 ori.b [A0 + 0x1600], 0x40 /* '@' */
00000216 117C 00C0 1C00 move.b [A0 + 0x1C00], 0xC0
0000021C 117C 000E 0C00 move.b [A0 + 0xC00], 0xE
00000222 117C 0003 0A00 move.b [A0 + 0xA00], 0x3
label00000228:
00000228 207A 0028 movea.l A0, [PC + 0x28 /* 00000252, value 0x0, cstring "" */]
0000022C 4290 clr.l [A0]
0000022E 6010 bra +0x12 /* 00000240 */
label00000230:
00000230 2078 01D4 movea.l A0, [0x000001D4 /* VIA */]
00000234 117C 0040 1C00 move.b [A0 + 0x1C00], 0x40 /* '@' */
0000023A 21FA 001A 01AA move.l [0x000001AA], [PC + 0x1A /* 00000256, value 0x0, cstring "" */]
label00000240:
00000240 205F movea.l A0, [A7]+
00000242 5C4F addq.w A7, 6
00000244 4ED0 jmp [A0]
00000246 1029 0800 move.b D0, [A1 + 0x800]
0000024A 207A 0006 movea.l A0, [PC + 0x6 /* 00000252, value 0x0, cstring "" */]
0000024E 5290 addq.l [A0], 1
00000250 4E75 rts
00000252 0000 0000 ori.b D0, 0x0
00000256 0000 0000 ori.b D0, 0x0
fn0000025A:
0000025A 4E56 0000 link A6, 0
0000025E 701E moveq.l D0, 0x1E
00000260 3200 move.w D1, D0
00000262 E641 asr D1.w, 3
00000264 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000268 0130 1000 btst [A0 + D1.w], D0
0000026C 6706 beq +0x8 /* 00000274 */
0000026E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000272 A873 syscall SetPort
label00000274:
00000274 4E5E unlink A6
00000276 2E9F move.l [A7], [A7]+
00000278 4E75 rts
fn0000027A:
0000027A 4E56 0000 link A6, 0
0000027E 1B7C 0001 FBD3 move.b [A5 - 0x42D], 0x1
00000284 1B6E 0008 FBD2 move.b [A5 - 0x42E], [A6 + 0x8]
0000028A 4E5E unlink A6
0000028C 205F movea.l A0, [A7]+
0000028E 544F addq.w A7, 2
00000290 4ED0 jmp [A0]
fn00000292:
00000292 4E56 FFF6 link A6, -0x000A
00000296 48E7 0708 movem.l -[A7], D5,D6,D7,A4
0000029A 286E 0008 movea.l A4, [A6 + 0x8]
0000029E 42A7 clr.l -[A7]
000002A0 2F2D FBD6 move.l -[A7], [A5 - 0x42A]
000002A4 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
000002A8 289F move.l [A4], [A7]+
000002AA 2D6D FBD6 FFFA move.l [A6 - 0x6], [A5 - 0x42A]
000002B0 4267 clr.w -[A7]
000002B2 3F2D FBDA move.w -[A7], [A5 - 0x426]
000002B6 486E FFFA pea.l [A6 - 0x6]
000002BA 2F14 move.l -[A7], [A4]
000002BC 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
000002C0 3E1F move.w D7, [A7]+
000002C2 4267 clr.w -[A7]
000002C4 4267 clr.w -[A7]
000002C6 3F07 move.w -[A7], D7
000002C8 486D FBDC pea.l [A5 - 0x424]
000002CC 487A 00B2 pea.l [PC + 0xB2 /* 00000380, value 0x10476574, pstring "GetCode : FSRead" */]
000002D0 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
000002D4 101F move.b D0, [A7]+
000002D6 6708 beq +0xA /* 000002E0 */
000002D8 1F3C 0001 move.b -[A7], 0x1
000002DC 4EBA FF9C jsr [PC - 0x64 /* 0000027A */]
label000002E0:
000002E0 102D FBD3 move.b D0, [A5 - 0x42D]
000002E4 0A00 0001 xori.b D0, 0x1
000002E8 671C beq +0x1E /* 00000306 */
000002EA 2054 movea.l A0, [A4]
000002EC 0C50 0005 cmpi.w [A0], 0x5
000002F0 6C14 bge +0x16 /* 00000306 */
000002F2 4267 clr.w -[A7]
000002F4 3F3C 0132 move.w -[A7], 0x132
000002F8 42A7 clr.l -[A7]
000002FA A986 syscall StopAlert
000002FC 3C1F move.w D6, [A7]+
000002FE 1F3C 0002 move.b -[A7], 0x2
00000302 4EBA FF76 jsr [PC - 0x8A /* 0000027A */]
label00000306:
00000306 4267 clr.w -[A7]
00000308 3F2D FBDA move.w -[A7], [A5 - 0x426]
0000030C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000310 3E1F move.w D7, [A7]+
00000312 4267 clr.w -[A7]
00000314 4267 clr.w -[A7]
00000316 3F07 move.w -[A7], D7
00000318 486D FBDC pea.l [A5 - 0x424]
0000031C 487A 0050 pea.l [PC + 0x50 /* 0000036E, value 0x11476574, pstring "GetCode - FSClose" */]
00000320 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
00000324 1A1F move.b D5, [A7]+
00000326 41ED FE42 lea.l A0, [A5 - 0x1BE]
0000032A 43ED FBDC lea.l A1, [A5 - 0x424]
0000032E 7010 moveq.l D0, 0x10
label00000330:
00000330 20D9 move.l [A0]+, [A1]+
00000332 5340 subq.w D0, 1
00000334 6EFA bgt -0x4 /* 00000330 */
00000336 3B6D FBD4 FDBE move.w [A5 - 0x242], [A5 - 0x42C]
0000033C 4267 clr.w -[A7]
0000033E 42A7 clr.l -[A7]
00000340 3F2D FDBE move.w -[A7], [A5 - 0x242]
00000344 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00000348 3E1F move.w D7, [A7]+
0000034A 4267 clr.w -[A7]
0000034C 486D FBDC pea.l [A5 - 0x424]
00000350 A997 syscall OpenResFile
00000352 3B5F FAD2 move.w [A5 - 0x52E], [A7]+
00000356 4267 clr.w -[A7]
00000358 42A7 clr.l -[A7]
0000035A 3F2D FD9A move.w -[A7], [A5 - 0x266]
0000035E 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00000362 3E1F move.w D7, [A7]+
00000364 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000368 4E5E unlink A6
0000036A 2E9F move.l [A7], [A7]+
0000036C 4E75 rts
0000036E 1147 6574 move.b [A0 + 0x6574], D7
00000372 436F 6465 chk.w D1, [A7 + 0x6465]
00000376 202D 2046 move.l D0, [A5 + 0x2046]
0000037A 5343 subq.w D3, 1
0000037C 6C6F bge +0x71 /* 000003ED */
0000037E 7365 moveq.l D1, 0x65
00000380 1047 movea.b A0, D7
00000382 6574 bcs +0x76 /* 000003F8 */
00000384 436F 6465 chk.w D1, [A7 + 0x6465]
00000388 203A 2046 move.l D0, [PC + 0x2046 /* 000023D0, cstring ""<EOF> */]
0000038C 5352 subq.w [A2], 1
0000038E 6561 bcs +0x63 /* 000003F1 */
00000390 6400 4E56 bcc +0x4E58 /* 000051E8 */
// begin alternate branch 00000392-00000396
fn00000392:
00000392 4E56 FFFC link A6, -0x0004
// end alternate branch 00000392-00000396
fn00000392: // (misaligned)
00000394 FFFC .invalid <<F/7/7>>
00000396 48E7 0018 movem.l -[A7], A3,A4
0000039A 266E 000C movea.l A3, [A6 + 0xC]
0000039E 42A7 clr.l -[A7]
000003A0 202B 005A move.l D0, [A3 + 0x5A]
000003A4 7216 moveq.l D1, 0x16
000003A6 D081 add.l D0, D1
000003A8 2F00 move.l -[A7], D0
000003AA 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
000003AE 285F movea.l A4, [A7]+
000003B0 200C move.l D0, A4
000003B2 7216 moveq.l D1, 0x16
000003B4 D081 add.l D0, D1
000003B6 206E 0008 movea.l A0, [A6 + 0x8]
000003BA 2080 move.l [A0], D0
000003BC 288B move.l [A4], A3
000003BE 422C 0004 clr.b [A4 + 0x4]
000003C2 422C 0005 clr.b [A4 + 0x5]
000003C6 396B 005E 0006 move.w [A4 + 0x6], [A3 + 0x5E]
000003CC 296D FCBA 0008 move.l [A4 + 0x8], [A5 - 0x346]
000003D2 426C 000C clr.w [A4 + 0xC]
000003D6 41ED FB16 lea.l A0, [A5 - 0x4EA]
000003DA 2948 000E move.l [A4 + 0xE], A0
000003DE 41ED FB1A lea.l A0, [A5 - 0x4E6]
000003E2 2948 0012 move.l [A4 + 0x12], A0
000003E6 4CDF 1800 movem.l A3,A4, [A7]+
000003EA 4E5E unlink A6
000003EC 205F movea.l A0, [A7]+
000003EE 504F addq.w A7, 8
000003F0 4ED0 jmp [A0]
fn000003F2:
000003F2 4E56 FF00 link A6, -0x0100
000003F6 206E 000A movea.l A0, [A6 + 0xA]
// begin alternate branch 000003F8-000003FE
label000003F8:
000003F8 000A 43EE ori.b A2, 0xEE
000003FC FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
// end alternate branch 000003F8-000003FE
label000003F8: // (misaligned)
000003FA 43EE FF00 lea.l A1, [A6 - 0x100]
000003FE 7040 moveq.l D0, 0x40
label00000400:
00000400 22D8 move.l [A1]+, [A0]+
00000402 5340 subq.w D0, 1
00000404 6EFA bgt -0x4 /* 00000400 */
00000406 2F2D FCBA move.l -[A7], [A5 - 0x346]
0000040A 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
0000040E 2F2D 000C move.l -[A7], [A5 + 0xC]
00000412 487A 0050 pea.l [PC + 0x50 /* 00000464, value 0xE536572, pstring "Serial error: " */]
00000416 4267 clr.w -[A7]
00000418 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
0000041C 2F2D 000C move.l -[A7], [A5 + 0xC]
00000420 486E FF00 pea.l [A6 - 0x100]
00000424 4267 clr.w -[A7]
00000426 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
0000042A 2F2D 000C move.l -[A7], [A5 + 0xC]
0000042E 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
00000432 3F3C 0001 move.w -[A7], 0x1
00000436 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
0000043A 2F2D 000C move.l -[A7], [A5 + 0xC]
0000043E 302E 0008 move.w D0, [A6 + 0x8]
00000442 48C0 ext.l D0
00000444 2F00 move.l -[A7], D0
00000446 4267 clr.w -[A7]
00000448 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
0000044C 2F2D 000C move.l -[A7], [A5 + 0xC]
00000450 1F3C 000D move.b -[A7], 0xD /* '\r' */
00000454 3F3C 0001 move.w -[A7], 0x1
00000458 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
0000045C 4E5E unlink A6
0000045E 205F movea.l A0, [A7]+
00000460 5C4F addq.w A7, 6
00000462 4ED0 jmp [A0]
00000464 0E53 6572 .invalid.w [A3], 0x6572 /* 'er' */ // invalid immediate operation
00000468 6961 bvs +0x63 /* 000004CB */
0000046A 6C20 bge +0x22 /* 0000048C */
0000046C 6572 bcs +0x74 /* 000004E0 */
0000046E 726F moveq.l D1, 0x6F
00000470 723A moveq.l D1, 0x3A
00000472 2000 move.l D0, D0
export_64:
00000474 4E56 FFF4 link A6, -0x000C
00000478 48E7 0300 movem.l -[A7], D6,D7
0000047C 42A7 clr.l -[A7]
0000047E 2F3C 0000 0400 move.l -[A7], 0x400
00000484 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
00000488 2B5F FBCE move.l [A5 - 0x432], [A7]+
label0000048C:
0000048C 4267 clr.w -[A7]
0000048E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000492 4A5F tst.w [A7]+
00000494 672A beq +0x2C /* 000004C0 */
00000496 2F2D FCBA move.l -[A7], [A5 - 0x346]
0000049A 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
0000049E 2F2D 000C move.l -[A7], [A5 + 0xC]
000004A2 487A 01A0 pea.l [PC + 0x1A0 /* 00000644, value 0x1F536572, pstring "Serial error: buffer allocation" */]
000004A6 4267 clr.w -[A7]
000004A8 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
000004AC 2F2D 000C move.l -[A7], [A5 + 0xC]
000004B0 1F3C 000D move.b -[A7], 0xD /* '\r' */
000004B4 3F3C 0001 move.w -[A7], 0x1
000004B8 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
000004BC 6000 00FC bra +0xFE /* 000005BA */
label000004C0:
000004C0 4267 clr.w -[A7]
000004C2 1F2D FACD move.b -[A7], [A5 - 0x533]
000004C6 4EAD 0112 jsr [A5 + 0x112 /* export_30 */]
000004CA 3B5F FCB8 move.w [A5 - 0x348], [A7]+
000004CE 4A6D FCB8 tst.w [A5 - 0x348]
000004D2 671C beq +0x1E /* 000004F0 */
000004D4 3F3C 0001 move.w -[A7], 0x1
000004D8 A9C8 syscall SysBeep
000004DA 3F3C 0001 move.w -[A7], 0x1
000004DE A9C8 syscall SysBeep
label000004E0:
000004E0 487A 013C pea.l [PC + 0x13C /* 0000061E, value 0x2543616E '%Can', pstring "Can\'t Open Serial Port -- Port in Use" */]
000004E4 3F2D FCB8 move.w -[A7], [A5 - 0x348]
000004E8 4EBA FF08 jsr [PC - 0xF8 /* 000003F2 */]
000004EC 6000 00CC bra +0xCE /* 000005BA */
label000004F0:
000004F0 4267 clr.w -[A7]
000004F2 3F2D FACE move.w -[A7], [A5 - 0x532]
000004F6 2F2D FBCE move.l -[A7], [A5 - 0x432]
000004FA 3F3C 0400 move.w -[A7], 0x400
000004FE 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000502 3E1F move.w D7, [A7]+
00000504 4A47 tst.w D7
00000506 670A beq +0xC /* 00000512 */
00000508 487A 0102 pea.l [PC + 0x102 /* 0000060C, value 0x10536572, pstring "SerSetBuf: input" */]
0000050C 3F07 move.w -[A7], D7
0000050E 4EBA FEE2 jsr [PC - 0x11E /* 000003F2 */]
label00000512:
00000512 7000 moveq.l D0, 0x00
00000514 1D40 FFF4 move.b [A6 - 0xC], D0
00000518 7000 moveq.l D0, 0x00
0000051A 1D40 FFF5 move.b [A6 - 0xB], D0
0000051E 7011 moveq.l D0, 0x11
00000520 1D40 FFF6 move.b [A6 - 0xA], D0
00000524 7013 moveq.l D0, 0x13
00000526 1D40 FFF7 move.b [A6 - 0x9], D0
0000052A 7000 moveq.l D0, 0x00
0000052C 1D40 FFF8 move.b [A6 - 0x8], D0
00000530 7000 moveq.l D0, 0x00
00000532 1D40 FFF9 move.b [A6 - 0x7], D0
00000536 7001 moveq.l D0, 0x01
00000538 1D40 FFFA move.b [A6 - 0x6], D0
0000053C 7000 moveq.l D0, 0x00
0000053E 1D40 FFFB move.b [A6 - 0x5], D0
00000542 4267 clr.w -[A7]
00000544 3F2D FACE move.w -[A7], [A5 - 0x532]
00000548 486E FFF4 pea.l [A6 - 0xC]
0000054C 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00000550 3E1F move.w D7, [A7]+
00000552 4A47 tst.w D7
00000554 670A beq +0xC /* 00000560 */
00000556 487A 00A2 pea.l [PC + 0xA2 /* 000005FA, value 0x10536572, pstring "SerHShake: input" */]
0000055A 3F07 move.w -[A7], D7
0000055C 4EBA FE94 jsr [PC - 0x16C /* 000003F2 */]
label00000560:
00000560 4267 clr.w -[A7]
00000562 3F2D FAD0 move.w -[A7], [A5 - 0x530]
00000566 486E FFF4 pea.l [A6 - 0xC]
0000056A 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000056E 3E1F move.w D7, [A7]+
00000570 4A47 tst.w D7
00000572 670A beq +0xC /* 0000057E */
00000574 487A 0072 pea.l [PC + 0x72 /* 000005E8, value 0x11536572, pstring "SerHShake: output" */]
00000578 3F07 move.w -[A7], D7
0000057A 4EBA FE76 jsr [PC - 0x18A /* 000003F2 */]
label0000057E:
0000057E 3C3C CC5E move.w D6, 0xCC5E
00000582 4267 clr.w -[A7]
00000584 3F2D FACE move.w -[A7], [A5 - 0x532]
00000588 3F06 move.w -[A7], D6
0000058A 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
0000058E 3E1F move.w D7, [A7]+
00000590 4A47 tst.w D7
00000592 670A beq +0xC /* 0000059E */
00000594 487A 0040 pea.l [PC + 0x40 /* 000005D6, value 0x11536574, pstring "SetSetVars: input" */]
00000598 3F07 move.w -[A7], D7
0000059A 4EBA FE56 jsr [PC - 0x1AA /* 000003F2 */]
label0000059E:
0000059E 4267 clr.w -[A7]
000005A0 3F2D FAD0 move.w -[A7], [A5 - 0x530]
000005A4 3F06 move.w -[A7], D6
000005A6 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
000005AA 3E1F move.w D7, [A7]+
000005AC 4A47 tst.w D7
000005AE 670A beq +0xC /* 000005BA */
000005B0 487A 0010 pea.l [PC + 0x10 /* 000005C2, value 0x12536574, pstring "SetSetVars: output" */]
000005B4 3F07 move.w -[A7], D7
000005B6 4EBA FE3A jsr [PC - 0x1C6 /* 000003F2 */]
label000005BA:
000005BA 4CDF 00C0 movem.l D6,D7, [A7]+
000005BE 4E5E unlink A6
000005C0 4E75 rts
000005C2 1253 movea.b A1, [A3]
000005C4 6574 bcs +0x76 /* 0000063A */
000005C6 5365 subq.w -[A5], 1
000005C8 7456 moveq.l D2, 0x56
000005CA 6172 bsr +0x74 /* 0000063E */
000005CC 733A moveq.l D1, 0x3A
000005CE 206F 7574 movea.l A0, [A7 + 0x7574]
000005D2 7075 moveq.l D0, 0x75
000005D4 7400 moveq.l D2, 0x00
000005D6 1153 6574 move.b [A0 + 0x6574], [A3]
000005DA 5365 subq.w -[A5], 1
000005DC 7456 moveq.l D2, 0x56
000005DE 6172 bsr +0x74 /* 00000652 */
000005E0 733A moveq.l D1, 0x3A
000005E2 2069 6E70 movea.l A0, [A1 + 0x6E70]
000005E6 7574 moveq.l D2, 0x74
000005E8 1153 6572 move.b [A0 + 0x6572], [A3]
000005EC 4853 pea.l [A3]
000005EE 6861 bvc +0x63 /* 00000651 */
000005F0 6B65 bmi +0x67 /* 00000657 */
000005F2 3A20 move.w D5, -[A0]
000005F4 6F75 ble +0x77 /* 0000066B */
000005F6 7470 moveq.l D2, 0x70
000005F8 7574 moveq.l D2, 0x74
000005FA 1053 movea.b A0, [A3]
000005FC 6572 bcs +0x74 /* 00000670 */
000005FE 4853 pea.l [A3]
00000600 6861 bvc +0x63 /* 00000663 */
00000602 6B65 bmi +0x67 /* 00000669 */
00000604 3A20 move.w D5, -[A0]
00000606 696E bvs +0x70 /* 00000676 */
00000608 7075 moveq.l D0, 0x75
0000060A 7400 moveq.l D2, 0x00
0000060C 1053 movea.b A0, [A3]
0000060E 6572 bcs +0x74 /* 00000682 */
00000610 5365 subq.w -[A5], 1
00000612 7442 moveq.l D2, 0x42
00000614 7566 moveq.l D2, 0x66
00000616 3A20 move.w D5, -[A0]
00000618 696E bvs +0x70 /* 00000688 */
0000061A 7075 moveq.l D0, 0x75
0000061C 7400 moveq.l D2, 0x00
0000061E 2543 616E move.l [A2 + 0x616E], D3
00000622 2774 204F 7065 move.l [A3 + 0x7065], [A4 + D2.w + 0x4F]
00000628 6E20 bgt +0x22 /* 0000064A */
0000062A 5365 subq.w -[A5], 1
0000062C 7269 moveq.l D1, 0x69
0000062E 616C bsr +0x6E /* 0000069C */
00000630 2050 movea.l A0, [A0]
00000632 6F72 ble +0x74 /* 000006A6 */
00000634 7420 moveq.l D2, 0x20
00000636 2D2D 2050 move.l -[A6], [A5 + 0x2050]
label0000063A:
0000063A 6F72 ble +0x74 /* 000006AE */
0000063C 7420 moveq.l D2, 0x20
fn0000063E:
0000063E 696E bvs +0x70 /* 000006AE */
00000640 2055 movea.l A0, [A5]
00000642 7365 moveq.l D1, 0x65
00000644 1F53 6572 move.b [A7 + 0x6572], [A3]
00000648 6961 bvs +0x63 /* 000006AB */
label0000064A:
0000064A 6C20 bge +0x22 /* 0000066C */
0000064C 6572 bcs +0x74 /* 000006C0 */
0000064E 726F moveq.l D1, 0x6F
00000650 723A moveq.l D1, 0x3A
fn00000652:
00000652 2062 movea.l A0, -[A2]
00000654 7566 moveq.l D2, 0x66
00000656 6665 bne +0x67 /* 000006BD */
00000658 7220 moveq.l D1, 0x20
0000065A 616C bsr +0x6E /* 000006C8 */
0000065C 6C6F bge +0x71 /* 000006CD */
0000065E 6361 bls +0x63 /* 000006C1 */
00000660 7469 moveq.l D2, 0x69
00000662 6F6E ble +0x70 /* 000006D2 */
export_66:
00000664 4E56 0000 link A6, 0
00000668 4A6D FCB8 tst.w [A5 - 0x348]
label0000066C:
0000066C 6608 bne +0xA /* 00000676 */
0000066E 1F2D FACD move.b -[A7], [A5 - 0x533]
// begin alternate branch 00000670-00000676
label00000670:
00000670 FACD 4EAD .extension 0xACD <<F/2-3/5>> // unimplemented
00000674 010A btst A2, D0
// end alternate branch 00000670-00000676
label00000670: // (misaligned)
00000672 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
label00000676:
00000676 4AAD FBCE tst.l [A5 - 0x432]
0000067A 6708 beq +0xA /* 00000684 */
0000067C 2F2D FBCE move.l -[A7], [A5 - 0x432]
00000680 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
// begin alternate branch 00000682-00000686
label00000682:
00000682 0042 4E5E ori.w D2, 0x4E5E /* 'N^' */
// end alternate branch 00000682-00000686
label00000682: // (misaligned)
label00000684:
00000684 4E5E unlink A6
00000686 4E75 rts
fn00000688:
00000688 4E56 FFFA link A6, -0x0006
0000068C 700C moveq.l D0, 0x0C
0000068E 3200 move.w D1, D0
00000690 E641 asr D1.w, 3
00000692 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000696 0130 1000 btst [A0 + D1.w], D0
0000069A 6712 beq +0x14 /* 000006AE */
fn0000069C:
0000069C 4EBA F9D2 jsr [PC - 0x62E /* 00000070 */]
000006A0 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
label000006A6:
000006A6 486E FFFE pea.l [A6 - 0x2]
000006AA 4EBA FA46 jsr [PC - 0x5BA /* 000000F2 */]
label000006AE:
000006AE 2F2D FCBA move.l -[A7], [A5 - 0x346]
000006B2 4EBA FBA6 jsr [PC - 0x45A /* 0000025A */]
000006B6 3F2E 0016 move.w -[A7], [A6 + 0x16]
000006BA 2F2E 0012 move.l -[A7], [A6 + 0x12]
000006BE 2F2E 000E move.l -[A7], [A6 + 0xE]
// begin alternate branch 000006C0-000006C8
label000006C0:
000006C0 000E 3F2E ori.b A6, 0x2E /* '.' */
000006C4 000C 3F2E ori.b A4, 0x2E /* '.' */
// end alternate branch 000006C0-000006C8
label000006C0: // (misaligned)
000006C2 3F2E 000C move.w -[A7], [A6 + 0xC]
000006C6 3F2E 000A move.w -[A7], [A6 + 0xA]
// begin alternate branch 000006C8-000006D2
fn000006C8:
000006C8 000A 3F2E ori.b A2, 0x2E /* '.' */
000006CC 0008 4EBA ori.b A0, 0xBA
000006D0 F930 .extension 0x930 <<F/4-5/4>> // unimplemented
// end alternate branch 000006C8-000006D2
fn000006C8: // (misaligned)
000006CA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000006CE 4EBA F930 jsr [PC - 0x6D0 /* 00000000 */]
label000006D2:
000006D2 700C moveq.l D0, 0x0C
000006D4 3200 move.w D1, D0
000006D6 E641 asr D1.w, 3
000006D8 41ED FBC4 lea.l A0, [A5 - 0x43C]
000006DC 0130 1000 btst [A0 + D1.w], D0
000006E0 6744 beq +0x46 /* 00000726 */
000006E2 3D7C 0003 FFFE move.w [A6 - 0x2], 0x3
000006E8 486E FFFE pea.l [A6 - 0x2]
000006EC 4EBA FA04 jsr [PC - 0x5FC /* 000000F2 */]
000006F0 0C6E 0002 FFFE cmpi.w [A6 - 0x2], 0x2
000006F6 661C bne +0x1E /* 00000714 */
000006F8 202E 000E move.l D0, [A6 + 0xE]
000006FC 7216 moveq.l D1, 0x16
000006FE 9081 sub.l D0, D1
00000700 2D40 FFFA move.l [A6 - 0x6], D0
00000704 206E FFFA movea.l A0, [A6 - 0x6]
00000708 117C 0001 0005 move.b [A0 + 0x5], 0x1
0000070E 1B7C 0001 FBCC move.b [A5 - 0x434], 0x1
label00000714:
00000714 3D7C 0002 FFFE move.w [A6 - 0x2], 0x2
0000071A 486E FFFE pea.l [A6 - 0x2]
0000071E 4EBA F9D2 jsr [PC - 0x62E /* 000000F2 */]
00000722 4EBA F956 jsr [PC - 0x6AA /* 0000007A */]
label00000726:
00000726 4E5E unlink A6
00000728 205F movea.l A0, [A7]+
0000072A DEFC 0010 add.w A7, 0x10
0000072E 4ED0 jmp [A0]
fn00000730:
00000730 4E56 FFE4 link A6, -0x001C
00000734 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000738 2A2E 0008 move.l D5, [A6 + 0x8]
0000073C 282E 000C move.l D4, [A6 + 0xC]
00000740 2004 move.l D0, D4
00000742 7216 moveq.l D1, 0x16
00000744 9081 sub.l D0, D1
00000746 2840 movea.l A4, D0
00000748 4267 clr.w -[A7]
0000074A 2F05 move.l -[A7], D5
0000074C A86A syscall HiWord
0000074E 3E1F move.w D7, [A7]+
00000750 4267 clr.w -[A7]
00000752 2F05 move.l -[A7], D5
00000754 A86B syscall LoWord
00000756 3C1F move.w D6, [A7]+
00000758 0C47 0132 cmpi.w D7, 0x132
0000075C 6606 bne +0x8 /* 00000764 */
0000075E 3E3C 0131 move.w D7, 0x131
00000762 5646 addq.w D6, 3
label00000764:
00000764 4A47 tst.w D7
00000766 6700 00C4 beq +0xC6 /* 0000082C */
0000076A 3007 move.w D0, D7
0000076C 6B18 bmi +0x1A /* 00000786 */
0000076E B07C 013F cmp.w D0, 0x13F
00000772 6E12 bgt +0x14 /* 00000786 */
00000774 41FA 00F0 lea.l A0, [PC + 0xF0 /* 00000866, value 0x4E56FFE0 */]
00000778 3200 move.w D1, D0
0000077A E649 lsr D1.w, 3
0000077C 4441 neg.w D1
0000077E 0130 10FF btst [A0 + D1.w - 0x1], D0
00000782 0A3C 0004 xori.b ccr, 4
label00000786:
00000786 6600 0086 bne +0x88 /* 0000080E */
0000078A 0C47 0131 cmpi.w D7, 0x131
0000078E 6658 bne +0x5A /* 000007E8 */
00000790 0C46 0004 cmpi.w D6, 0x4
00000794 6610 bne +0x12 /* 000007A6 */
00000796 2004 move.l D0, D4
00000798 7216 moveq.l D1, 0x16
0000079A 9081 sub.l D0, D1
0000079C 2840 movea.l A4, D0
0000079E 197C 0001 0005 move.b [A4 + 0x5], 0x1
000007A4 6066 bra +0x68 /* 0000080C */
label000007A6:
000007A6 0C46 0005 cmpi.w D6, 0x5
000007AA 663A bne +0x3C /* 000007E6 */
000007AC 42A7 clr.l -[A7]
000007AE 3F3C 0194 move.w -[A7], 0x194
000007B2 42A7 clr.l -[A7]
000007B4 70FF moveq.l D0, 0xFFFFFFFF
000007B6 2F00 move.l -[A7], D0
000007B8 A97C syscall GetNewDialog
000007BA 265F movea.l A3, [A7]+
000007BC 2F0B move.l -[A7], A3
000007BE 486E FFE4 pea.l [A6 - 0x1C]
000007C2 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
000007C6 2F0B move.l -[A7], A3
000007C8 A915 syscall ShowWindow
label000007CA:
000007CA 42A7 clr.l -[A7]
000007CC 486E FFF6 pea.l [A6 - 0xA]
000007D0 A991 syscall ModalDialog
000007D2 0C6E 0001 FFF6 cmpi.w [A6 - 0xA], 0x1
000007D8 66F0 bne -0xE /* 000007CA */
000007DA 2F0B move.l -[A7], A3
000007DC A983 syscall DisposeDialog
000007DE 486E FFE4 pea.l [A6 - 0x1C]
000007E2 4EAD 0392 jsr [A5 + 0x392 /* export_110 */]
label000007E6:
000007E6 6044 bra +0x46 /* 0000082C */
label000007E8:
000007E8 2F05 move.l -[A7], D5
000007EA 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000007EE 0C47 012D cmpi.w D7, 0x12D
000007F2 6618 bne +0x1A /* 0000080C */
000007F4 4267 clr.w -[A7]
000007F6 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
000007FA 101F move.b D0, [A7]+
000007FC 670E beq +0x10 /* 0000080C */
000007FE 2004 move.l D0, D4
00000800 7216 moveq.l D1, 0x16
00000802 9081 sub.l D0, D1
00000804 2840 movea.l A4, D0
00000806 197C 0001 0005 move.b [A4 + 0x5], 0x1
label0000080C:
0000080C 601E bra +0x20 /* 0000082C */
label0000080E:
0000080E 3F3C 001A move.w -[A7], 0x1A
00000812 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000816 2F04 move.l -[A7], D4
00000818 3F3C 0002 move.w -[A7], 0x2
0000081C 4267 clr.w -[A7]
0000081E 2F05 move.l -[A7], D5
00000820 A86A syscall HiWord
00000822 4267 clr.w -[A7]
00000824 2F05 move.l -[A7], D5
00000826 A86B syscall LoWord
00000828 4EBA FE5E jsr [PC - 0x1A2 /* 00000688 */]
label0000082C:
0000082C 4267 clr.w -[A7]
0000082E A938 syscall HiliteMenu
00000830 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00000834 4E5E unlink A6
00000836 205F movea.l A0, [A7]+
00000838 DEFC 000C add.w A7, 0xC
0000083C 4ED0 jmp [A0]
0000083E 0003 F000 ori.b D3, 0x0
00000842 0000 0000 ori.b D0, 0x0
00000846 0000 0000 ori.b D0, 0x0
0000084A 0000 0000 ori.b D0, 0x0
0000084E 0000 0000 ori.b D0, 0x0
00000852 0000 0000 ori.b D0, 0x0
00000856 0000 0000 ori.b D0, 0x0
0000085A 0000 0000 ori.b D0, 0x0
0000085E 0000 0000 ori.b D0, 0x0
00000862 0000 0000 ori.b D0, 0x0
fn00000866:
00000866 4E56 FFE0 link A6, -0x0020
0000086A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000086E 266E 0008 movea.l A3, [A6 + 0x8]
00000872 2E2E 000C move.l D7, [A6 + 0xC]
00000876 200B move.l D0, A3
00000878 7216 moveq.l D1, 0x16
0000087A 9081 sub.l D0, D1
0000087C 2840 movea.l A4, D0
label0000087E:
0000087E A9B4 syscall SystemTask
00000880 4EAD 011A jsr [A5 + 0x11A /* export_31 */]
00000884 4267 clr.w -[A7]
00000886 3F3C FFFF move.w -[A7], 0xFFFF
0000088A 486E FFEA pea.l [A6 - 0x16]
0000088E A970 syscall GetNextEvent
00000890 101F move.b D0, [A7]+
00000892 6700 0216 beq +0x218 /* 00000AAA */
00000896 42A7 clr.l -[A7]
00000898 302C 0006 move.w D0, [A4 + 0x6]
0000089C 48C0 ext.l D0
0000089E 2F00 move.l -[A7], D0
000008A0 42A7 clr.l -[A7]
000008A2 7001 moveq.l D0, 0x01
000008A4 2F00 move.l -[A7], D0
000008A6 3F2E FFEA move.w -[A7], [A6 - 0x16]
000008AA A85C syscall BitShift
000008AC A858 syscall BitAnd
000008AE 4A9F tst.l [A7]+
000008B0 6724 beq +0x26 /* 000008D6 */
000008B2 3F3C 001E move.w -[A7], 0x1E
000008B6 2F07 move.l -[A7], D7
000008B8 2F0B move.l -[A7], A3
000008BA 3F3C 0002 move.w -[A7], 0x2
000008BE 4267 clr.w -[A7]
000008C0 41EE FFEA lea.l A0, [A6 - 0x16]
000008C4 2F08 move.l -[A7], A0
000008C6 A86B syscall LoWord
000008C8 4267 clr.w -[A7]
000008CA 41EE FFEA lea.l A0, [A6 - 0x16]
000008CE 2F08 move.l -[A7], A0
000008D0 A86A syscall HiWord
000008D2 4EBA FDB4 jsr [PC - 0x24C /* 00000688 */]
label000008D6:
000008D6 0C6E FFFF FFEA cmpi.w [A6 - 0x16], 0xFFFF
000008DC 6700 01CC beq +0x1CE /* 00000AAA */
000008E0 4267 clr.w -[A7]
000008E2 486E FFEA pea.l [A6 - 0x16]
000008E6 A97F syscall IsDialogEvent
000008E8 101F move.b D0, [A7]+
000008EA 670C beq +0xE /* 000008F8 */
000008EC 486E FFEA pea.l [A6 - 0x16]
000008F0 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000008F4 6000 01B4 bra +0x1B6 /* 00000AAA */
label000008F8:
000008F8 302E FFEA move.w D0, [A6 - 0x16]
000008FC 5340 subq.w D0, 1
000008FE 6716 beq +0x18 /* 00000916 */
00000900 5540 subq.w D0, 2
00000902 6700 00FE beq +0x100 /* 00000A02 */
00000906 5540 subq.w D0, 2
00000908 6700 00F8 beq +0xFA /* 00000A02 */
0000090C 5340 subq.w D0, 1
0000090E 6700 0144 beq +0x146 /* 00000A54 */
00000912 6000 018E bra +0x190 /* 00000AA2 */
label00000916:
00000916 4267 clr.w -[A7]
00000918 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000091C 486E FFFC pea.l [A6 - 0x4]
00000920 A92C syscall FindWindow
00000922 3C1F move.w D6, [A7]+
00000924 3006 move.w D0, D6
00000926 5340 subq.w D0, 1
00000928 6B00 00D4 bmi +0xD6 /* 000009FE */
0000092C 0C40 0005 cmpi.w D0, 0x5
00000930 6E00 00CC bgt +0xCE /* 000009FE */
00000934 E348 lsl D0.w, 1
00000936 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000093A 4EFB 0000 jmp [PC + D0.w]
0000093E 000E 00BA ori.b A6, 0xBA
00000942 0026 00BA ori.b -[A6], 0xBA
00000946 00BA 0088 4EAD 002A ori.l [PC + 0x2A /* 00000972, value 0xA91F604C */], 0x884EAD
0000094E 2F07 move.l -[A7], D7
00000950 2F0B move.l -[A7], A3
00000952 42A7 clr.l -[A7]
00000954 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000958 A93D syscall MenuSelect
0000095A 4EBA FDD4 jsr [PC - 0x22C /* 00000730 */]
0000095E 6000 014A bra +0x14C /* 00000AAA */
00000962 42A7 clr.l -[A7]
00000964 A924 syscall FrontWindow
00000966 202E FFFC move.l D0, [A6 - 0x4]
0000096A B09F cmp.l D0, [A7]+
0000096C 6708 beq +0xA /* 00000976 */
0000096E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000972 A91F syscall SelectWindow
00000974 604C bra +0x4E /* 000009C2 */
label00000976:
00000976 202E FFFC move.l D0, [A6 - 0x4]
0000097A B0AD FCBA cmp.l D0, [A5 - 0x346]
0000097E 57C0 seq D0
00000980 721E moveq.l D1, 0x1E
00000982 3401 move.w D2, D1
00000984 E642 asr D2.w, 3
00000986 41ED FBC4 lea.l A0, [A5 - 0x43C]
0000098A 0330 2000 btst [A0 + D2.w], D1
0000098E 57C1 seq D1
00000990 8001 or.b D0, D1
00000992 6726 beq +0x28 /* 000009BA */
00000994 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000998 A873 syscall SetPort
0000099A 486E FFF4 pea.l [A6 - 0xC]
0000099E A871 syscall GlobalToLocal
000009A0 3F3C 0006 move.w -[A7], 0x6
000009A4 2F07 move.l -[A7], D7
000009A6 2F0B move.l -[A7], A3
000009A8 3F3C 0002 move.w -[A7], 0x2
000009AC 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000009B0 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000009B4 4EBA FCD2 jsr [PC - 0x32E /* 00000688 */]
000009B8 6044 bra +0x46 /* 000009FE */
label000009BA:
000009BA 486E FFEA pea.l [A6 - 0x16]
000009BE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
label000009C2:
000009C2 603A bra +0x3C /* 000009FE */
000009C4 202E FFFC move.l D0, [A6 - 0x4]
000009C8 B0AD FCBA cmp.l D0, [A5 - 0x346]
000009CC 670A beq +0xC /* 000009D8 */
000009CE 486E FFEA pea.l [A6 - 0x16]
000009D2 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000009D6 6026 bra +0x28 /* 000009FE */
label000009D8:
000009D8 4267 clr.w -[A7]
000009DA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000009DE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000009E2 A91E syscall TrackGoAway
000009E4 101F move.b D0, [A7]+
000009E6 670C beq +0xE /* 000009F4 */
000009E8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000009EC A916 syscall HideWindow
000009EE 197C 0001 0005 move.b [A4 + 0x5], 0x1
label000009F4:
000009F4 6008 bra +0xA /* 000009FE */
000009F6 486E FFEA pea.l [A6 - 0x16]
000009FA 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
label000009FE:
000009FE 6000 00AA bra +0xAC /* 00000AAA */
label00000A02:
00000A02 42A7 clr.l -[A7]
00000A04 A924 syscall FrontWindow
00000A06 201F move.l D0, [A7]+
00000A08 B0AD FCBA cmp.l D0, [A5 - 0x346]
00000A0C 57C0 seq D0
00000A0E 721E moveq.l D1, 0x1E
00000A10 3401 move.w D2, D1
00000A12 E642 asr D2.w, 3
00000A14 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000A18 0330 2000 btst [A0 + D2.w], D1
00000A1C 57C1 seq D1
00000A1E 8001 or.b D0, D1
00000A20 6728 beq +0x2A /* 00000A4A */
00000A22 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000A26 2F07 move.l -[A7], D7
00000A28 2F0B move.l -[A7], A3
00000A2A 3F3C 0002 move.w -[A7], 0x2
00000A2E 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000A32 2F3C 0000 0100 move.l -[A7], 0x100
00000A38 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00000A3C 201F move.l D0, [A7]+
00000A3E 3F00 move.w -[A7], D0
00000A40 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000A44 4EBA FC42 jsr [PC - 0x3BE /* 00000688 */]
00000A48 6060 bra +0x62 /* 00000AAA */
label00000A4A:
00000A4A 486E FFEA pea.l [A6 - 0x16]
00000A4E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000A52 6056 bra +0x58 /* 00000AAA */
label00000A54:
00000A54 2D6E FFEC FFFC move.l [A6 - 0x4], [A6 - 0x14]
00000A5A 202E FFFC move.l D0, [A6 - 0x4]
00000A5E B0AD FCBA cmp.l D0, [A5 - 0x346]
00000A62 57C0 seq D0
00000A64 721E moveq.l D1, 0x1E
00000A66 3401 move.w D2, D1
00000A68 E642 asr D2.w, 3
00000A6A 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000A6E 0330 2000 btst [A0 + D2.w], D1
00000A72 57C1 seq D1
00000A74 8001 or.b D0, D1
00000A76 6720 beq +0x22 /* 00000A98 */
00000A78 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000A7C A922 syscall BeginUpdate
00000A7E 3F3C 000E move.w -[A7], 0xE
00000A82 2F07 move.l -[A7], D7
00000A84 2F0B move.l -[A7], A3
00000A86 4267 clr.w -[A7]
00000A88 4267 clr.w -[A7]
00000A8A 4267 clr.w -[A7]
00000A8C 4EBA FBFA jsr [PC - 0x406 /* 00000688 */]
00000A90 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000A94 A923 syscall EndUpdate
00000A96 6012 bra +0x14 /* 00000AAA */
label00000A98:
00000A98 486E FFEA pea.l [A6 - 0x16]
00000A9C 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000AA0 6008 bra +0xA /* 00000AAA */
label00000AA2:
00000AA2 486E FFEA pea.l [A6 - 0x16]
00000AA6 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
label00000AAA:
00000AAA 4A6E FFEA tst.w [A6 - 0x16]
00000AAE 57C0 seq D0
00000AB0 802C 0005 or.b D0, [A4 + 0x5]
00000AB4 0240 0001 andi.w D0, 0x1
00000AB8 6700 FDC4 beq -0x23A /* 0000087E */
00000ABC 426E FFEA clr.w [A6 - 0x16]
00000AC0 4267 clr.w -[A7]
00000AC2 486E FFEA pea.l [A6 - 0x16]
00000AC6 A97F syscall IsDialogEvent
00000AC8 101F move.b D0, [A7]+
00000ACA 6712 beq +0x14 /* 00000ADE */
00000ACC 4267 clr.w -[A7]
00000ACE 486E FFEA pea.l [A6 - 0x16]
00000AD2 486E FFE2 pea.l [A6 - 0x1E]
00000AD6 486E FFE0 pea.l [A6 - 0x20]
00000ADA A980 syscall DialogSelect
00000ADC 101F move.b D0, [A7]+
label00000ADE:
00000ADE 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000AE2 4E5E unlink A6
00000AE4 205F movea.l A0, [A7]+
00000AE6 504F addq.w A7, 8
00000AE8 4ED0 jmp [A0]
fn00000AEA:
00000AEA 4E56 FFE6 link A6, -0x001A
00000AEE 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000AF2 2A2E 0008 move.l D5, [A6 + 0x8]
00000AF6 2045 movea.l A0, D5
00000AF8 4AA8 0056 tst.l [A0 + 0x56]
00000AFC 6F00 00A4 ble +0xA6 /* 00000BA2 */
00000B00 2045 movea.l A0, D5
00000B02 2028 0052 move.l D0, [A0 + 0x52]
00000B06 D085 add.l D0, D5
00000B08 2640 movea.l A3, D0
00000B0A 2045 movea.l A0, D5
00000B0C 2F28 0056 move.l -[A7], [A0 + 0x56]
00000B10 7008 moveq.l D0, 0x08
00000B12 2F00 move.l -[A7], D0
00000B14 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00000B18 201F move.l D0, [A7]+
00000B1A 3D40 FFEA move.w [A6 - 0x16], D0
00000B1E 7E01 moveq.l D7, 0x01
00000B20 607A bra +0x7C /* 00000B9C */
label00000B22:
00000B22 2005 move.l D0, D5
00000B24 7268 moveq.l D1, 0x68
00000B26 D081 add.l D0, D1
00000B28 2207 move.l D1, D7
00000B2A E741 asl D1.w, 3
00000B2C 2433 10F8 move.l D2, [A3 + D1.w - 0x8]
00000B30 D480 add.l D2, D0
00000B32 2C02 move.l D6, D2
00000B34 42A7 clr.l -[A7]
00000B36 700E moveq.l D0, 0x0E
00000B38 2F00 move.l -[A7], D0
00000B3A 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
00000B3E 285F movea.l A4, [A7]+
00000B40 2D4C FFE6 move.l [A6 - 0x1A], A4
00000B44 206E FFE6 movea.l A0, [A6 - 0x1A]
00000B48 317C 0001 0004 move.w [A0 + 0x4], 0x1
00000B4E 206E FFE6 movea.l A0, [A6 - 0x1A]
00000B52 2146 0006 move.l [A0 + 0x6], D6
00000B56 2007 move.l D0, D7
00000B58 E740 asl D0.w, 3
00000B5A 206E FFE6 movea.l A0, [A6 - 0x1A]
00000B5E 3173 00FC 000A move.w [A0 + 0xA], [A3 + D0.w - 0x4]
00000B64 2007 move.l D0, D7
00000B66 E740 asl D0.w, 3
00000B68 206E FFE6 movea.l A0, [A6 - 0x1A]
00000B6C 3173 00FE 000C move.w [A0 + 0xC], [A3 + D0.w - 0x2]
00000B72 2007 move.l D0, D7
00000B74 E740 asl D0.w, 3
00000B76 41F3 00F8 lea.l A0, [A3 + D0.w - 0x8]
00000B7A 2808 move.l D4, A0
00000B7C 2044 movea.l A0, D4
00000B7E 208C move.l [A0], A4
00000B80 4267 clr.w -[A7]
00000B82 2F0C move.l -[A7], A4
00000B84 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00000B88 3D5F FFF4 move.w [A6 - 0xC], [A7]+
00000B8C 700A moveq.l D0, 0x0A
00000B8E DC80 add.l D6, D0
00000B90 41EC 000A lea.l A0, [A4 + 0xA]
00000B94 2246 movea.l A1, D6
00000B96 2288 move.l [A1], A0
00000B98 5247 addq.w D7, 1
00000B9A 6906 bvs +0x8 /* 00000BA2 */
label00000B9C:
00000B9C BE6E FFEA cmp.w D7, [A6 - 0x16]
00000BA0 6F80 ble -0x7E /* 00000B22 */
label00000BA2:
00000BA2 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00000BA6 4E5E unlink A6
00000BA8 2E9F move.l [A7], [A7]+
00000BAA 4E75 rts
fn00000BAC:
00000BAC 4E56 FFF6 link A6, -0x000A
00000BB0 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000BB4 266E 0008 movea.l A3, [A6 + 0x8]
00000BB8 4AAB 0056 tst.l [A3 + 0x56]
00000BBC 6F3A ble +0x3C /* 00000BF8 */
00000BBE 202B 0052 move.l D0, [A3 + 0x52]
00000BC2 D08B add.l D0, A3
00000BC4 2840 movea.l A4, D0
00000BC6 2F2B 0056 move.l -[A7], [A3 + 0x56]
00000BCA 7008 moveq.l D0, 0x08
00000BCC 2F00 move.l -[A7], D0
00000BCE 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00000BD2 201F move.l D0, [A7]+
00000BD4 3D40 FFF6 move.w [A6 - 0xA], D0
00000BD8 7E01 moveq.l D7, 0x01
00000BDA 6016 bra +0x18 /* 00000BF2 */
label00000BDC:
00000BDC 4267 clr.w -[A7]
00000BDE 2007 move.l D0, D7
00000BE0 E740 asl D0.w, 3
00000BE2 41F4 00F8 lea.l A0, [A4 + D0.w - 0x8]
00000BE6 2F10 move.l -[A7], [A0]
00000BE8 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
00000BEC 3C1F move.w D6, [A7]+
00000BEE 5247 addq.w D7, 1
00000BF0 6906 bvs +0x8 /* 00000BF8 */
label00000BF2:
00000BF2 BE6E FFF6 cmp.w D7, [A6 - 0xA]
00000BF6 6FE4 ble -0x1A /* 00000BDC */
label00000BF8:
00000BF8 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000BFC 4E5E unlink A6
00000BFE 2E9F move.l [A7], [A7]+
00000C00 4E75 rts
fn00000C02:
00000C02 4E56 FFFC link A6, -0x0004
00000C06 48E7 0118 movem.l -[A7], D7,A3,A4
00000C0A 266E 000C movea.l A3, [A6 + 0xC]
00000C0E 2E2E 0008 move.l D7, [A6 + 0x8]
00000C12 2007 move.l D0, D7
00000C14 7216 moveq.l D1, 0x16
00000C16 9081 sub.l D0, D1
00000C18 2840 movea.l A4, D0
00000C1A 3F3C FFFF move.w -[A7], 0xFFFF
00000C1E 4267 clr.w -[A7]
00000C20 201F move.l D0, [A7]+
00000C22 A032 syscall FlushEvents
00000C24 422C 0005 clr.b [A4 + 0x5]
00000C28 422D FBCC clr.b [A5 - 0x434]
00000C2C 3F3C 0002 move.w -[A7], 0x2
00000C30 2F0B move.l -[A7], A3
00000C32 2F07 move.l -[A7], D7
00000C34 4267 clr.w -[A7]
00000C36 4267 clr.w -[A7]
00000C38 4267 clr.w -[A7]
00000C3A 4EBA FA4C jsr [PC - 0x5B4 /* 00000688 */]
00000C3E 2F0B move.l -[A7], A3
00000C40 4EBA FEA8 jsr [PC - 0x158 /* 00000AEA */]
label00000C44:
00000C44 102C 0005 move.b D0, [A4 + 0x5]
00000C48 0A00 0001 xori.b D0, 0x1
00000C4C 6726 beq +0x28 /* 00000C74 */
00000C4E 2F0B move.l -[A7], A3
00000C50 2F07 move.l -[A7], D7
00000C52 4EBA FC12 jsr [PC - 0x3EE /* 00000866 */]
00000C56 102C 0005 move.b D0, [A4 + 0x5]
00000C5A 0A00 0001 xori.b D0, 0x1
00000C5E 6712 beq +0x14 /* 00000C72 */
00000C60 3F3C 0016 move.w -[A7], 0x16
00000C64 2F0B move.l -[A7], A3
00000C66 2F07 move.l -[A7], D7
00000C68 4267 clr.w -[A7]
00000C6A 4267 clr.w -[A7]
00000C6C 4267 clr.w -[A7]
00000C6E 4EBA FA18 jsr [PC - 0x5E8 /* 00000688 */]
label00000C72:
00000C72 60D0 bra -0x2E /* 00000C44 */
label00000C74:
00000C74 2F0B move.l -[A7], A3
00000C76 4EBA FF34 jsr [PC - 0xCC /* 00000BAC */]
00000C7A 102D FBCC move.b D0, [A5 - 0x434]
00000C7E 0A00 0001 xori.b D0, 0x1
00000C82 6712 beq +0x14 /* 00000C96 */
00000C84 3F3C 0012 move.w -[A7], 0x12
00000C88 2F0B move.l -[A7], A3
00000C8A 2F07 move.l -[A7], D7
00000C8C 4267 clr.w -[A7]
00000C8E 4267 clr.w -[A7]
00000C90 4267 clr.w -[A7]
00000C92 4EBA F9F4 jsr [PC - 0x60C /* 00000688 */]
label00000C96:
00000C96 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000C9A 4E5E unlink A6
00000C9C 205F movea.l A0, [A7]+
00000C9E 504F addq.w A7, 8
00000CA0 4ED0 jmp [A0]
fn00000CA2:
00000CA2 4E56 0000 link A6, 0
00000CA6 41ED FBDC lea.l A0, [A5 - 0x424]
00000CAA 43ED FAD6 lea.l A1, [A5 - 0x52A]
00000CAE 7010 moveq.l D0, 0x10
label00000CB0:
00000CB0 20D9 move.l [A0]+, [A1]+
00000CB2 5340 subq.w D0, 1
00000CB4 6EFA bgt -0x4 /* 00000CB0 */
00000CB6 3B6D FAD4 FBD4 move.w [A5 - 0x42C], [A5 - 0x52C]
00000CBC 4267 clr.w -[A7]
00000CBE 486D FBDC pea.l [A5 - 0x424]
00000CC2 3F2D FBD4 move.w -[A7], [A5 - 0x42C]
00000CC6 486D FBDA pea.l [A5 - 0x426]
00000CCA 486D FBD6 pea.l [A5 - 0x42A]
00000CCE 4EAD 03C2 jsr [A5 + 0x3C2 /* export_116 */]
00000CD2 1D5F 0008 move.b [A6 + 0x8], [A7]+
00000CD6 41ED 03C2 lea.l A0, [A5 + 0x3C2 /* export_116 */]
00000CDA 2F08 move.l -[A7], A0
00000CDC A9F1 syscall UnloadSeg
00000CDE 4EAD 03AA jsr [A5 + 0x3AA /* export_113 */]
00000CE2 41ED 03AA lea.l A0, [A5 + 0x3AA /* export_113 */]
00000CE6 2F08 move.l -[A7], A0
00000CE8 A9F1 syscall UnloadSeg
00000CEA 422D FAD6 clr.b [A5 - 0x52A]
00000CEE 4E5E unlink A6
00000CF0 4E75 rts
export_63:
00000CF2 4E56 FFF6 link A6, -0x000A
00000CF6 2F07 move.l -[A7], D7
00000CF8 486D FD1C pea.l [A5 - 0x2E4]
00000CFC A851 syscall SetCursor
label00000CFE:
00000CFE 42AE FFF8 clr.l [A6 - 0x8]
00000D02 42AE FFFC clr.l [A6 - 0x4]
00000D06 4207 clr.b D7
00000D08 486D FAD6 pea.l [A5 - 0x52A]
00000D0C 487A 00F2 pea.l [PC + 0xF2 /* 00000E00, value 0xF52, cstring "" */]
00000D10 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00000D14 101F move.b D0, [A7]+
00000D16 6708 beq +0xA /* 00000D20 */
00000D18 4267 clr.w -[A7]
00000D1A 4EBA FF86 jsr [PC - 0x7A /* 00000CA2 */]
00000D1E 1E1F move.b D7, [A7]+
label00000D20:
00000D20 2007 move.l D0, D7
00000D22 0A00 0001 xori.b D0, 0x1
00000D26 6700 00BA beq +0xBC /* 00000DE2 */
00000D2A 486E FFF8 pea.l [A6 - 0x8]
00000D2E 4EBA F562 jsr [PC - 0xA9E /* 00000292 */]
00000D32 41ED 03B2 lea.l A0, [A5 + 0x3B2 /* export_114 */]
00000D36 2F08 move.l -[A7], A0
00000D38 A9F1 syscall UnloadSeg
00000D3A 102D FBD3 move.b D0, [A5 - 0x42D]
00000D3E 0A00 0001 xori.b D0, 0x1
00000D42 6760 beq +0x62 /* 00000DA4 */
00000D44 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000D48 486E FFFC pea.l [A6 - 0x4]
00000D4C 4EBA F644 jsr [PC - 0x9BC /* 00000392 */]
00000D50 701E moveq.l D0, 0x1E
00000D52 3200 move.w D1, D0
00000D54 E641 asr D1.w, 3
00000D56 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000D5A 0130 1000 btst [A0 + D1.w], D0
00000D5E 6714 beq +0x16 /* 00000D74 */
00000D60 102D FBCD move.b D0, [A5 - 0x433]
00000D64 0A00 0001 xori.b D0, 0x1
00000D68 670A beq +0xC /* 00000D74 */
00000D6A 2F2D FCBA move.l -[A7], [A5 - 0x346]
00000D6E 486D FBDC pea.l [A5 - 0x424]
00000D72 A91A syscall SetWTitle
label00000D74:
00000D74 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000D78 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D7C 4EBA FE84 jsr [PC - 0x17C /* 00000C02 */]
00000D80 701E moveq.l D0, 0x1E
00000D82 3200 move.w D1, D0
00000D84 E641 asr D1.w, 3
00000D86 41ED FBC4 lea.l A0, [A5 - 0x43C]
00000D8A 0130 1000 btst [A0 + D1.w], D0
00000D8E 6714 beq +0x16 /* 00000DA4 */
00000D90 102D FBCD move.b D0, [A5 - 0x433]
00000D94 0A00 0001 xori.b D0, 0x1
00000D98 670A beq +0xC /* 00000DA4 */
00000D9A 2F2D FCBA move.l -[A7], [A5 - 0x346]
00000D9E 487A 0062 pea.l [PC + 0x62 /* 00000E02, value 0xF526173, pstring "Rascal Executor" */]
00000DA2 A91A syscall SetWTitle
label00000DA4:
00000DA4 4AAE FFF8 tst.l [A6 - 0x8]
00000DA8 6708 beq +0xA /* 00000DB2 */
00000DAA 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DAE 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
label00000DB2:
00000DB2 4AAE FFFC tst.l [A6 - 0x4]
00000DB6 670E beq +0x10 /* 00000DC6 */
00000DB8 202E FFFC move.l D0, [A6 - 0x4]
00000DBC 7216 moveq.l D1, 0x16
00000DBE 9081 sub.l D0, D1
00000DC0 2F00 move.l -[A7], D0
00000DC2 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
label00000DC6:
00000DC6 0C6D FFFF FAD2 cmpi.w [A5 - 0x52E], 0xFFFF
00000DCC 56C0 sne D0
00000DCE 322D FAD2 move.w D1, [A5 - 0x52E]
00000DD2 B26D FD9C cmp.w D1, [A5 - 0x264]
00000DD6 56C1 sne D1
00000DD8 C001 and.b D0, D1
00000DDA 6706 beq +0x8 /* 00000DE2 */
00000DDC 3F2D FAD2 move.w -[A7], [A5 - 0x52E]
00000DE0 A99A syscall CloseResFile
label00000DE2:
00000DE2 486D FAD6 pea.l [A5 - 0x52A]
00000DE6 487A 0018 pea.l [PC + 0x18 /* 00000E00, value 0xF52, cstring "" */]
00000DEA 4EAD 01A2 jsr [A5 + 0x1A2 /* export_48 */]
00000DEE 101F move.b D0, [A7]+
00000DF0 802D FBD3 or.b D0, [A5 - 0x42D]
00000DF4 8007 or.b D0, D7
00000DF6 6700 FF06 beq -0xF8 /* 00000CFE */
00000DFA 2E1F move.l D7, [A7]+
00000DFC 4E5E unlink A6
00000DFE 4E75 rts
00000E00 0000 0F52 ori.b D0, 0x52 /* 'R' */
00000E04 6173 bsr +0x75 /* 00000E79 */
00000E06 6361 bls +0x63 /* 00000E69 */
00000E08 6C20 bge +0x22 /* 00000E2A */
00000E0A 4578 6563 chk.w D2, [0x00006563]
00000E0E 7574 moveq.l D2, 0x74
00000E10 6F72 ble +0x74 /* 00000E84 */
export_65:
00000E12 4E56 0000 link A6, 0
00000E16 4E5E unlink A6
00000E18 4E75 rts